package cn.getech.data.metadata.controller.blood;

import lombok.Data;

@Data
public class BloodNode {
    private String id;
    private String tableName;
    private String fieldName;
    private String type="table";
    private String left;
    private String top;
    // 0 当前 1 上游  2 下游
    private Integer bloodType;
    private Integer fromLayer=0;
    private Integer toLayer=0;
    private Integer num=1;
    private Integer leftInt;
    private Integer topInt;
    private String ico = "0";

    private Integer tableId;

    public String getLeft() {
        return leftInt+"px";
    }

    public String getTop() {
        return topInt+"px";
    }
}
